/*
 * Amazon Ads API - Sponsored Products
 * Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=ENTITY3CWETCZD9HEG2#GWGFKPEWVWG2CLUJ). For onboarding information, see the [account setup](setting-up/account-setup) topic.<br/><br/> 
 *
 * The version of the OpenAPI document: 2.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.openapitools.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;

/**
 * InlineResponse2001
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-04-12T19:05:39.971406+08:00[Asia/Shanghai]")
public class InlineResponse2001 {
  public static final String SERIALIZED_NAME_REPORT_ID = "reportId";
  @SerializedName(SERIALIZED_NAME_REPORT_ID)
  private String reportId;

  public static final String SERIALIZED_NAME_RECORD_TYPE = "recordType";
  @SerializedName(SERIALIZED_NAME_RECORD_TYPE)
  private String recordType;

  public static final String SERIALIZED_NAME_STATUS = "status";
  @SerializedName(SERIALIZED_NAME_STATUS)
  private String status;

  public static final String SERIALIZED_NAME_STATUS_DETAILS = "statusDetails";
  @SerializedName(SERIALIZED_NAME_STATUS_DETAILS)
  private String statusDetails;


  public InlineResponse2001 reportId(String reportId) {
    
    this.reportId = reportId;
    return this;
  }

   /**
   * The unique ID for your requested report.
   * @return reportId
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The unique ID for your requested report.")

  public String getReportId() {
    return reportId;
  }


  public void setReportId(String reportId) {
    this.reportId = reportId;
  }


  public InlineResponse2001 recordType(String recordType) {
    
    this.recordType = recordType;
    return this;
  }

   /**
   * The record type of the report. It can be &#x60;campaign&#x60;, &#x60;adGroup&#x60;, &#x60;keyword&#x60;, &#x60;productAd&#x60;, or &#x60;targets&#x60;.
   * @return recordType
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The record type of the report. It can be `campaign`, `adGroup`, `keyword`, `productAd`, or `targets`.")

  public String getRecordType() {
    return recordType;
  }


  public void setRecordType(String recordType) {
    this.recordType = recordType;
  }


  public InlineResponse2001 status(String status) {
    
    this.status = status;
    return this;
  }

   /**
   * The status of the report. Status is one of &#x60;IN_PROGRESS&#x60;, &#x60;SUCCESS&#x60;, or &#x60;FAILURE&#x60;.
   * @return status
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "The status of the report. Status is one of `IN_PROGRESS`, `SUCCESS`, or `FAILURE`.")

  public String getStatus() {
    return status;
  }


  public void setStatus(String status) {
    this.status = status;
  }


  public InlineResponse2001 statusDetails(String statusDetails) {
    
    this.statusDetails = statusDetails;
    return this;
  }

   /**
   * Description of the status.
   * @return statusDetails
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "Description of the status.")

  public String getStatusDetails() {
    return statusDetails;
  }


  public void setStatusDetails(String statusDetails) {
    this.statusDetails = statusDetails;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    InlineResponse2001 inlineResponse2001 = (InlineResponse2001) o;
    return Objects.equals(this.reportId, inlineResponse2001.reportId) &&
        Objects.equals(this.recordType, inlineResponse2001.recordType) &&
        Objects.equals(this.status, inlineResponse2001.status) &&
        Objects.equals(this.statusDetails, inlineResponse2001.statusDetails);
  }

  @Override
  public int hashCode() {
    return Objects.hash(reportId, recordType, status, statusDetails);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class InlineResponse2001 {\n");
    sb.append("    reportId: ").append(toIndentedString(reportId)).append("\n");
    sb.append("    recordType: ").append(toIndentedString(recordType)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
    sb.append("    statusDetails: ").append(toIndentedString(statusDetails)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}

